c#


Identity Server and Custom Generated Tokens


I have a problem with authentication in my app, using IdentityServer3: if IS is reached with a direct link and an access token is generated, when API tries to validate it on same IS, but with a mirror link, I get the 401 error. I believe the cause of this bug is that token contains URL of IS in it, so it is not recognized on same IS with mirror link.
My question is - how could I generate a custom token that will not contain information about URL in it? Any other suggestion or advice on this matter will be much appreciated!
I've tried to find an answer to this question on IS github page and this is the closest I got to an answer:
http://docs.identityserver.io/en/release/topics/extension_grants.html
But it didn't really solve my issue because, firstly, it's using IS4, secondly, what I'm trying to do is sort of remove the URL part of the token and I can't see how extension grant would allow me to do that.

Related Links

Two ways of declaring properties in VB - what is the difference?
Error on xna “is inaccessible due to its protection level”
Dynamically creating user inputs
Delegates and lambda expressions using Spring.Net
I can load login page but the controls are not getting displayed using jquery ui?
C# Fill GridView with Function
Calling a second level base class constructor
IDictionary to string
How to unit test Entity Framework?
performance and elegance issue with boolean syntax
why is json.net only showing s#arp EntityWithTypedId class?
Does having old commented code and a lot of whitespaces in code slow down performance?
Threads receiving wrong parameters
How to provide validation for child classes that implement different properties?
How to make a File Exists Converter in WinRT
How to get a Tooltip for GridView headers from database?

Categories

HOME
joomla
ckan
model-view-controller
macros
system-calls
ssh
service
jenkins-pipeline
dronekit
phantomjs
highmaps
livecharts
nltk
arguments
datetimepicker
confluence-rest-api
docker-compose
collision-detection
python-3.4
urllib2
vichuploaderbundle
resharper
multibinding
versioning
windows-phone
geography
xforms
fibonacci
prepros
ithit-webdav-server
poisson
core-animation
pixels
oracle10g
datanucleus
traveling-salesman
meteor-accounts
vtd-xml
opencsv
log4net-configuration
imdb
postgresql-9.6
mootools
kepserverex
pygraphviz
gem-fury
blueimp
file-conversion
glide-image-library
paperclip
bootstrap-carousel
xmldom
easyquery
noise
openxava
fluent-nhibernate-mapping
htop
sharpssh
spring-social-twitter
consolidation
audiorecord
transaction-isolation
aws-kms
markerspiderfier
ios8-share-extension
musicbrainz
android-filterable
esri-arc-engine
crtdbg.h
jsonmodel
famous-engine
system.net
nest-initiative
scjp
farpoint-spread
email-headers
boofcv
mahara
scidb
friendly-url
magicsuggest
boost.build
moonscript
doxia
php-gettext
filedialog
sqlbuddy
cherokee
jqtransform
jquery-attributes
carbon-emacs
rpxnow
time-management
qlibrary
content-delivery-network
jettison
moores-law

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App