Flutter SDK and "Call Your API Using the Authorization Code Flow with PKCE"

Hi all,

I’m successfully testing out the sample app and wondered if I could use this sdk to do the normal AppAuth PCKE (Authorization Code Grant - OAuth 2.0 Simplified) type flows so I can authn/authz the app/user to retrieve my access token etc?

I’d like to login the user, but take an access token/request token for use against our own API that uses Auth0 to do token introspection.

Is this possible with this Flutter SDK or another?

Traditionally I use flutter_appauth and Hydra

I’ve asked here too with no response - Auth0-flutter SDK First Availability! - #2 by ghenry (and Access Token · Issue #185 · auth0/auth0-flutter · GitHub)

Thanks.

Hello @ghenry!

I understand that you’d like to use a custom API for access tokens and request tokens. I was looking through the Flutter SDK GitHub and found an example that may fit your needs.

This supports using a Custom Credentials Manager and gives an example on how to do that.

If you just need the regular Access Token here are some docs on receiving the access token.

I apologize if I am misunderstanding something, I hope this can help!

Best,
Alex