We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
# install app in bench bench get-app https://github.com/revant/oauth2_client # install app on site bench --site <site-name> install-app oauth2_client
Connected App
Get OpenID Configuration
Create the object of connected app
connected_app = frappe.get_doc("Connected App", "bloomstack")
client_token = connected_app.get_client_token() print(client_token.access_token) # use the token
ConnectedApp.get_user_token() returns url string if no token was found, redirect user to initiate authorization code flow
It will return the valid token if previous token was found
user_token = connected_app.get_user_token()