auth0 / Auth0.swift

Auth0 SDK for Apple platforms
https://auth0.github.io/Auth0.swift
MIT License
345 stars 225 forks source link

Add support for an authorize URL override #854

Closed erichoracek closed 3 months ago

erichoracek commented 4 months ago

📋 Changes

Adds support for overriding the authorize URL, to match the behavior of the Android SDK.

Adds a authorizeURL(…) method on WebAuth:

webAuth
  .authorizeURL(URL(string: "https://example.com/authorize")!)

📎 References

Android version of this change: https://github.com/auth0/Auth0.Android/pull/622

🎯 Testing

Added unit tests to verify that when an override authorize URL is specified, it is respected.

desusai7 commented 4 months ago

Hi @erichoracek,

Thank you for raising this, we will check this out

desusai7 commented 4 months ago

Hi @erichoracek,

We are discussing this internally from a security standpoint and will keep you posted on any updates.

desusai7 commented 3 months ago

@erichoracek, this has been released as part of version 2.8.0