dennis_n
dennis_n

Reputation: 802

How long ClaimedIdentifier can be?

Hello,

I want to save ClaimedIdentifier in database.

How long it can be?

Probably, 255 characters is ok?

Upvotes: 2

Views: 201

Answers (1)

Andrew Arnott
Andrew Arnott

Reputation: 81801

An openid.claimed_id is limited only by the maximum length of a URL, which technically can reach at least 2K -- I'm not sure just how large it can be.

However, even the unreasonably long OpenIDs actually seen in the wild don't exceed 255 characters, so that seems like a reasonable practical limit to me.

Upvotes: 3

Related Questions