Thanks for details, Vipin, my observations are the same. I couldn't make IdP-initiated sign-in to work.
Regarding initial issue - Shikha, I think you could try to use `urn:oasis:names:tc:SAML:2.0:nameid-format:email` nameid format instead of `unspecified` one mentioned in our current doc. In IdPv3 you need to do additional work to make the later one work, and it's generally not recommended to employ it at all these days. `email` format seems to work pretty well for me so far. Please let us know whether it will resolve your issue.
It also appears that in IdPv3 there is no need any more in editing `attribute-resolver.xml.vm`. You just need to ensure that next bean definition is placed in `saml-nameid.xml`:
```
<bean parent="shibboleth.SAML2AttributeSourcedGenerator"
p:format="urn:oasis:names:tc:SAML:2.0:nameid-format:email"
p:attributeSourceIds="#{ {'mail'} }"/>
```
...and also release `email` attribute for this TR (can be done in web UI). Talking of which, I'm a bit confused with this line in the file you provided before:
```
#if( ! ($attribute.name.equals('transientId') or $attribute.name.equals('mail') ) )
```
That seems like it will actually prevent you from releasing `email` attribute, as you're overriding it to release as a nameid. Not sure about the reason you had to do this, but I would recommend to revert to original, unmodified `attribute-resolver.xml.vm` file for this test (as mentioned, you don't need to edit this file in IdPv3 for standard nameids of formats like `email`, `unspecified` etc)
You also need to use updated metadata with different nameid format (check the attachment). Please test it for yourself, Shikha, and let us know how it works for you.