Questions tagged [openid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
52 views

Should we use sessions instead of bearer tokens with OpenID Connect server-side authorization code flows?

I want to build an app with a SPA (Angular) frontend and a REST API (Spring Boot) backend. I want a modern account system for this app: users log in through OpenID Connect, using either a social login ...
Joshua Schroijen's user avatar
1 vote
1 answer
82 views

What goes in the access_token and what goes in the id_token?

I'm currently trying to build a very simple application for handling OpenID Connect using the library Openiddict. This library lets me construct the access_token and the id_token and lets me set which ...
Inx51's user avatar
  • 261
0 votes
0 answers
25 views

OIDC/oAuth, should the federation service or the application itself "add" attributes/claims to the user?

I have a scenario where we use ADFS with OIDC. Once a user signs in the ticket thats "forwarded" down to our application contains some common attributes/claims regarding the user, such as ...
Inx51's user avatar
  • 261
0 votes
1 answer
106 views

Using Azure AD as an identity provider in Keycloak-based applications: how can I add missing user data to my client applications?

I'm currently using Azure AD as my identity provider and Keycloak as my intermediary/broker for my client applications. However, I need some user attributes (such as phone, email, picture, and ...
linus's user avatar
  • 121
0 votes
1 answer
478 views

Session Handover via OpenID Connect between a Mobile Application and a Website?

I am trying to assess secure ways to implement a session handover between an app and a website in the same company ecosystem. The Setup Mobile Application A and Website B use the same company OpenID ...
Vankog's user avatar
  • 103
1 vote
0 answers
33 views

Two step provisioning using OIDC and AD?

A client requested that we implement the following authentication/authorisation flow: User authenticates using OIDC via a IAM (Salesforce in this case). If user is an external user, then a flag is ...
dd_dent's user avatar
  • 33
2 votes
0 answers
177 views

Is it good practice to use the sub claim as the user_id in my app

The resources on the web I have seen so far suggest that the 'sub' claim in a JWT identifies the principal. According to this question, at least for some identity provider implementations, one cannot ...
coderobot's user avatar
1 vote
1 answer
333 views

Passing an OAuth Token between services with Zero Trust and audience checks

Let's say, we're using an OAuth / OpenID Connect (OIDC) flow (in a Zero-Trust situation) to secure two APIs: ServiceA and ServiceB. To implement some of the functionality of ServiceA, it depends on ...
Quido's user avatar
  • 316
1 vote
0 answers
53 views

In OAuth / OpenID Connect, does the redirect url matter for server to server API calls?

In OAuth / OpenID Connect, does the redirect url matter for server to server API calls? I'm currently setting up Azure AD to secure our API's. The first implementation will likely only be server to ...
Kyle J V's user avatar
  • 226
2 votes
1 answer
238 views

Chaining openID token

I'm working in microservices environment, where each service authenticates using OpenID Connect to an authentication service (local IdP), based on Users I keep locally on my Database. Now, I want ...
Nati's user avatar
  • 79
1 vote
0 answers
93 views

Grant type/flow to use for multitenant application

Let's image we have a multitenant(organization) application having a separate database per tenant(organization). The core of the application is a REST api service protected by an authorization ...
Ivaylo's user avatar
  • 111
1 vote
2 answers
6k views

How to keep user logged in when using OpenID Connect & Cookies in dotnet core?

I'm working on an OpenID Connect Hybrid flow, basically the response type in my case is: code id_token Problem: I can't seem to persist the session of the user when logged in using the id_token. I ...
Hamza's user avatar
  • 89
7 votes
3 answers
9k views

Is caching Access Tokens on the back end of a Web Application a good idea? (access_token storage best practices)

Let's suppose we have a Web Application that uses an Open Id Connect service provider, the Web Application uses the Authorization Code flow to get access to a different API, and therefore gets an ...
Hamza's user avatar
  • 89
0 votes
3 answers
721 views

Open ID Connect Session Management Access/Refresh Token vs Session iFrame

We have a web app in which we allow users to log into the app using any Open ID provider(e.g. Okta, Google, Facebook etc.). We want to implement the correct Open ID Connect prescribed methodology/...
sandunes90's user avatar
4 votes
2 answers
617 views

Integration with multiple SSO's

Currently, we had a web app that integrated with SSO through Open-Id protocol Then we got another client that had it's own SSO and need us to integrate with their SSO through SAML protocol so their ...
Nabawoka's user avatar
6 votes
1 answer
1k views

Client generated JWT

I'm working with a 3rd party company who are providing an API along with an unusual security approach. The security approach is essentially using a JWT by itself (no oauth). What's odd is that they'...
fml's user avatar
  • 517
11 votes
2 answers
1k views

Should an SPA use OIDC's Implicit flow or Auth Code flow?

We are developing a new Angular SPA which leverages Keycloak for its SSO abilities using OpenID Connect (OIDC). The app is currently designed to use the Implicit flow to retrieve short-lived access ...
Eric B.'s user avatar
  • 1,229
1 vote
0 answers
155 views

OpenID Connect - UserInfo endpoint Redundant?

Why would we use the userinfo endpoint in OpenID Connect to get information about the user when we can simply include that information in the access token? The UserInfo Endpoint is an OAuth 2.0 ...
fml's user avatar
  • 517
4 votes
1 answer
867 views

Multiple OAuth2 access_tokens on the same page

We have been tasked with implementing a dashboard containing multiple widgets. The dashboard itself and all widgets need to access various secured APIs. Our authorisation protocol is OpenID. ...
Oleg's user avatar
  • 184
-1 votes
1 answer
335 views

How to manage user information with an external user database?

I'm developing an app suite that uses an OpenID Connect provider. But I guess my question works in all situations where there is a separate user info provider. I persist which users create a given ...
Olivier Le Moign's user avatar
0 votes
1 answer
428 views

Which OpenID flow should I choose?

I have simple REST API, based on Asp.Net Core technology. Now, I want to add OpenID for this API. API would be used from mobile applications, single page applications and possibly other API services ...
Yurii N.'s user avatar
  • 341
1 vote
1 answer
464 views

Does OpenID allow email address to be changed?

I am tasked to design an OpenID provider for the public facing applications of my company. The idea is to authorize the user via an email/PW combination. The subject will be a GUID. Should an user ...
TheJoeIaut's user avatar
2 votes
1 answer
3k views

What OpenID Connect flow is right for me?

Here's the deal. I have a .NET MVC5 web application that I'm moving up to the OpenID Connect standard. I also would like to be able to access controller methods from a mobile app (much like an API) ...
ReimTime's user avatar
  • 141
2 votes
0 answers
117 views

Switching between Azure Mobile Services vs my own implementation. Will UIDs change?

I'm looking at Azure Mobile Services, particularly the Authentication part (which I believe relies exclusively on OAUTH 1 or 2). I want to make sure that my application isn't tightly coupled to the ...
makerofthings7's user avatar
24 votes
4 answers
7k views

How should I architect a RESTful webservice to use 3rd party (i.e. Google, Facebook, Twitter) for authentication?

For my job we have a nice RESTful webservice we've built out that we use to drive a couple websites we have. Basically the webservice lets you create and work with support tickets, and the website is ...
Ralph Callaway's user avatar
6 votes
1 answer
994 views

Authentication for users on a Single Page App?

I have developed a single page app prototype that is using Backbone on the front end and going to consume from a thin RESTful API on the server for it's data. Coming from heavy server side ...
John H's user avatar
  • 161
2 votes
1 answer
463 views

What's the benefit of Azure ACS if ASP.NET 4.5 includes OAuth and OpenID providers? [closed]

Azure ACS offers OAuth and OpenID providers, and now that ASP.NET 4.5 offers the same thing, without the added cost, is there any reason for a .NET developer to consider ACS? (Disclaimer, I don't ...
makerofthings7's user avatar
3 votes
2 answers
295 views

Using Paypal (or similar) to log into my site?

I have a web site and I want to offer a few levels of service - one free, one for a one-off payment, and one for a subscription. My first inclination is to use Paypal for the payment options. I ...
Paul Tomblin's user avatar
  • 1,949
8 votes
1 answer
447 views

Using OpenID to log into multiple domains: Is this plan feasable? [closed]

For example: We're running a two community sites on two domains (call them example.com and example.net). We want to be able to expand that to more domains later. We want to allow multiple types of ...
TRiG's user avatar
  • 1,170
2 votes
3 answers
174 views

OpenID and data espionage

This answer[link] to another question here talks about OpenID and data espionage. I quote: [Data espionage] Why let them gather the detailed statistics from many consumer site and help them ...
sameold's user avatar
  • 137
1 vote
2 answers
307 views

Is it a good idea to implement OpenID services in internal and/or customer applications?

I've been discussing with my colleges about logging in by using your OpenID account, Google account etc. in our customers CMS and/or the internal systems we use, as we've had a few requests regarding ...
soerenn's user avatar
  • 111
5 votes
1 answer
794 views

OpenID implementation - PHP, Javascript, MySQL

I've started doing some research on the technologies that I will need for my website. I'm trying to implement a really simple website with OpenID user registration. The website will store a block of ...
Marc A.'s user avatar
  • 53
31 votes
5 answers
3k views

is OpenID really that bad?

I have seen this question on Quora where lots of people seem to agree that OpenID is bad, even going as far as stating that: OpenID is the worst possible "solution" I have ever seen in my entire ...
DoPPler's user avatar
  • 441
5 votes
5 answers
358 views

Does anybody ever uses the OpenId url Log in?

As programmers I think we are the most inclined to use new technologies and things that are not so mainstream. I absolutely love OpenId's ability to log in with credentials you already have, but I ...
Francisco Noriega's user avatar