oauth-2.0

How can I use Salesforce OAuth 2.0 implicit flow authentication in a WinForms application?

梦想的初衷 提交于 2020-12-26 13:42:55
问题 I wrote a web application which connects to the Salesforce API using the OAuth 2.0 web server flow, and that all works fine. But now there is a requirement to access the Salesforce API from a WinForms desktop application and I'm stuck. Salesforce suggest using the User-Agent, or implict, flow for desktop applications. The flow is described by Salesforce here - https://help.salesforce.com/articleView?id=remoteaccess_oauth_user_agent_flow.htm&type=5 I've created a WinForms application and used

How can I use Salesforce OAuth 2.0 implicit flow authentication in a WinForms application?

泪湿孤枕 提交于 2020-12-26 13:34:59
问题 I wrote a web application which connects to the Salesforce API using the OAuth 2.0 web server flow, and that all works fine. But now there is a requirement to access the Salesforce API from a WinForms desktop application and I'm stuck. Salesforce suggest using the User-Agent, or implict, flow for desktop applications. The flow is described by Salesforce here - https://help.salesforce.com/articleView?id=remoteaccess_oauth_user_agent_flow.htm&type=5 I've created a WinForms application and used

How can I use Salesforce OAuth 2.0 implicit flow authentication in a WinForms application?

寵の児 提交于 2020-12-26 13:30:47
问题 I wrote a web application which connects to the Salesforce API using the OAuth 2.0 web server flow, and that all works fine. But now there is a requirement to access the Salesforce API from a WinForms desktop application and I'm stuck. Salesforce suggest using the User-Agent, or implict, flow for desktop applications. The flow is described by Salesforce here - https://help.salesforce.com/articleView?id=remoteaccess_oauth_user_agent_flow.htm&type=5 I've created a WinForms application and used

How to get creation date of gmail account in Google OAuth 2

我们两清 提交于 2020-12-25 09:40:30
问题 I am working on Google OAuth 2.0 , to get information about the users logged in through Google OAuth 2.0 . There is a variety of scopes available like For getting the user basic profile there is OAuth scope available called profile which is internally converts to a URL https://www.googleapis.com/auth/plus.profile and for knowing the logged in user's email id there is a Oauth scope called email which results in URL https://www.googleapis.com/auth/userinfo.email . Now my question is: How to get

How to get creation date of gmail account in Google OAuth 2

柔情痞子 提交于 2020-12-25 09:38:37
问题 I am working on Google OAuth 2.0 , to get information about the users logged in through Google OAuth 2.0 . There is a variety of scopes available like For getting the user basic profile there is OAuth scope available called profile which is internally converts to a URL https://www.googleapis.com/auth/plus.profile and for knowing the logged in user's email id there is a Oauth scope called email which results in URL https://www.googleapis.com/auth/userinfo.email . Now my question is: How to get

What does https://<myapp>.azurewebsites.net/.auth/login/aad/callback mean?

空扰寡人 提交于 2020-12-23 11:57:38
问题 I am configuring Authentication for my Web application using Azure App Service. I chose AAD with Express mode to register my application. It registered my application at AAD with reply-url as https://.azurewebsites.net/.auth/login/aad/callback. I intercepted the requests GET\ POST for above callback. It sends the access token. Question: I have not implemented the controller for above reply-url in web application. Who is handling it correctly? Please shed me some light on above callback. Can

What does https://<myapp>.azurewebsites.net/.auth/login/aad/callback mean?

时光总嘲笑我的痴心妄想 提交于 2020-12-23 11:57:20
问题 I am configuring Authentication for my Web application using Azure App Service. I chose AAD with Express mode to register my application. It registered my application at AAD with reply-url as https://.azurewebsites.net/.auth/login/aad/callback. I intercepted the requests GET\ POST for above callback. It sends the access token. Question: I have not implemented the controller for above reply-url in web application. Who is handling it correctly? Please shed me some light on above callback. Can

Spring Security OAuth oauth/token_key returns 404 - error: not Found

不问归期 提交于 2020-12-16 02:20:08
问题 I am trying to build Authorization Server using Spring Security. Code is available on git - https://github.com/bharatnpti/SpringAuthServerSO I have implemented JWT, everything is working fine for example - generation of token, check_token. However the endpoint oauth/token_key is giving error - 404, not found. Have tried the following access for token_key :- tokenKeyAccess("permitAll() || isAnonymous()") tokenKeyAccess("permitAll()") Below are the logs for token_key request :- 2020-12-07 03:22

Spring Security OAuth oauth/token_key returns 404 - error: not Found

允我心安 提交于 2020-12-16 02:19:44
问题 I am trying to build Authorization Server using Spring Security. Code is available on git - https://github.com/bharatnpti/SpringAuthServerSO I have implemented JWT, everything is working fine for example - generation of token, check_token. However the endpoint oauth/token_key is giving error - 404, not found. Have tried the following access for token_key :- tokenKeyAccess("permitAll() || isAnonymous()") tokenKeyAccess("permitAll()") Below are the logs for token_key request :- 2020-12-07 03:22

How to implement Authorization Code Grant with PKCE in Angular6+ applications

人盡茶涼 提交于 2020-12-12 15:36:57
问题 I need some input in implementing MSAL library in Angular6+ applications for integrating with AZURE AD. As i read through the microsoft docs, i came across two flows 'implicit grant flow' and 'auth code flow'. It is been recommended by microsoft team themselves that 'auth code flow' must be implemented as its secure as compared to 'implicit grant flow'. Im working on a Angular6+ application, and I have to integrate it with AZURE AD. When i checked the MSAL libraries for angular i could only